examples: Use existing icons
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Jun 2021 12:45:04 +0000 (08:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Jun 2021 12:45:04 +0000 (08:45 -0400)
The sunny icon doesn't exist anymore.

examples/sunny.c

index fafc1f2a1b2c698c67370ce0a27898c9ca345ec2..c4aeba52f6abffbc13659ea9d478e8f0d7b990e4 100644 (file)
@@ -12,7 +12,7 @@ new_window (GApplication *app,
   gtk_application_window_set_show_menubar (GTK_APPLICATION_WINDOW (window), TRUE);
   gtk_window_set_default_size ((GtkWindow*)window, 640, 480);
   gtk_window_set_title (GTK_WINDOW (window), "Sunny");
-  gtk_window_set_icon_name (GTK_WINDOW (window), "sunny");
+  gtk_window_set_icon_name (GTK_WINDOW (window), "weather-clear-symbolic");
 
   header = gtk_header_bar_new ();
   gtk_window_set_titlebar (GTK_WINDOW (window), header);
@@ -78,7 +78,7 @@ show_about (GSimpleAction *action,
   gtk_show_about_dialog (NULL,
                          "program-name", "Sunny",
                          "title", "About Sunny",
-                         "logo-icon-name", "sunny",
+                         "logo-icon-name", "weather-clear-symbolic",
                          "comments", "A cheap Bloatpad clone.",
                          NULL);
 }